package cn.wolfcode.business.mapper;


import cn.wolfcode.business.domain.BusAudit;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BusAuditMapper {
    List<BusAudit> getAuditList();

    Integer insert(BusAudit busAudit);

    Integer updateInstanceId(@Param("businessKey") Long businessKey, @Param("processInstanceId") String processInstanceId);

    Integer  deleteAuditById(@Param("id") Long id, @Param("Status") Integer Status);

    BusAudit selectInstanceById(Long id);

}
